1070 LOCATE21,3:COLOR15,0:PRINT"If you are not familiar with the MODE command of 2.0 DOS then you":LOCATE22,3:PRINT"should look at your DOS Manual, pp.6-109 to 6-116":COLOR7,0
1080 LOCATE 7,1:PRINT:PRINT"Your choices are:":LOCATE,10:PRINT"(1) Set Mode of Operation on a Parallel Printer":LOCATE,10:PRINT"(2) Set Options for Asynchronous Communication Adaptor":LOCATE,10:PRINT"(3) Erase File":LOCATE,10:PRINT"(4) Exit"
1090 LOCATE 15,10:PRINT"Enter Choice (1-4) ";
1100 CH$=INKEY$:IFCH$=""THEN1100
1110 CHOICE=VAL(CH$):IF CHOICE<1 OR CHOICE>4 THEN BEEP:GOTO 1070
1120 IF CHOICE=3 THEN GOSUB 1030:GOTO 1650 ELSE CLS:COLOR 0,7:PRINT STRING$(240," "):IF CHOICE=4 THEN COLOR 7,0:RUN"MENU"
1130 IFCHOICE=2THEN1360
1140 LOCATE2,10:COLOR0,7:PRINT"** SET MODE OF OPERATION FOR A PARALLEL PRINTER ** ":COLOR7,0:LOCATE5,1
1150 DATA WHICH PARALLEL LINE PRINTER? (LPT1 /LPT2/ LPT3),3,1,2,3,HOW MANY CHARACTERS PER LINE (80 OR 132 CHARACTERS),2,80,132,HOW MANY LINES PER INCH (6 OR 8 LINES PER INCH),2,6,8
1152 DATA CONTINUOUS RETRY IF PRINTER IS NOT TURNED ON (P=YES),1,P
1170 DATA1,This is the number of the Parallel Line Printer (1-3):DATA2,This is the number of characters per line. It is set at,2,either 80 or 132 characters. This is also,2,set and adjusted within the programs.
1180 DATA 3,This is the vertical spacing... either 6 or 8 lines,3,per inch.:DATA 4,P option- IF YOU ENTER 'P' then the computer will not 'lock up' if,4,you forget to turn your printer on.,99:RESTORE 1170:READ N:FOR X=1 TO 4:LOCATE 14,3
1310 COLOR 15,0:LOCATE 14,3:PRINT A$:LOCATE 24,1:PRINT" ";:COLOR 7,0:LOCATE 21,3:BEEP:PRINT"Is this correct (Y/N) ";
1320 AN$=INKEY$:IFAN$=""THEN1320
1330 IFAN$="y"ORAN$="Y"THEN1650
1340 IFAN$="n"ORAN$="N"THEN1140
1350 BEEP:GOTO 1310
1360 LOCATE2,10:COLOR0,7:PRINT"** SET OPTIONS FOR ASYNCHRONOUS COMMUNICATION ADAPTOR ** ":COLOR7,0:LOCATE5,1
1370 DATAn [ASYNCHRONOUS COM #],2,1,2,baud,8,110,150,300,600,1200,2400,4800,9600,parity,3,N,O,E,databits,2,7,8,stopbits,2,1,2,P [RETRY OF TIME-OUT ERRORS],1,P:DATA# [LPT PRINTER NUMBER],3,1,2,3,n [ASYNCHRONOUS COM #],2,1,2
1390 DATA5,This is the number of the Asynchronous Communications Adapter.,5,Generally this is `1`.
1400 DATA6,This is the baud rate. The speed at which your printer can print.,6,If you notice that the printer is not printing all of the,6,information you should set this to a lower baud rate.
1410 DATA7,Parity - N (none) O (odd) E(even). Generally the parity,7,is 'E'ven. If your printer seems to,7,be printing 'garbage' you should change the parity.
1420 DATA8,Generally the databit is set at 7 although your printer may,8,use all 8 bits for the characters it prints.:DATA9,Stopbit- IF YOU BAUD IS NOT 110 THIS IS GENERALLY SET AT '1'.,9,If your baud rate is 110- generally this would be set to '2'.
1430 DATA 10,P option- IF YOU ENTER 'P' then the computer will not 'lock up" if,10,you have forgotten to turn on your printer.
1440 DATA11,LPT#...This is the number of the parallel printer output,11,that is re-directed to the Asynchronous,11,Communications Adapter. Generally this is '1':DATA99:RESTORE1390:READN:FORX=5TO11:LOCATE14,3